Integrand size = 23, antiderivative size = 343 \[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=-\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (b d (8 c d-7 b e)+\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x\right )}{3 b^4 \sqrt {b x+c x^2}}-\frac {2 \left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{3 (-b)^{7/2} \sqrt {c} \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}+\frac {16 d (c d-b e) (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right ),\frac {b e}{c d}\right )}{3 (-b)^{7/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \]
[Out]
Time = 0.27 (sec) , antiderivative size = 343, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.348, Rules used = {752, 834, 857, 729, 113, 111, 118, 117} \[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=-\frac {2 \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {d+e x} \left (b^2 e^2-16 b c d e+16 c^2 d^2\right ) E\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{3 (-b)^{7/2} \sqrt {c} \sqrt {b x+c x^2} \sqrt {\frac {e x}{d}+1}}+\frac {16 d \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {\frac {e x}{d}+1} (c d-b e) (2 c d-b e) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right ),\frac {b e}{c d}\right )}{3 (-b)^{7/2} \sqrt {c} \sqrt {b x+c x^2} \sqrt {d+e x}}-\frac {2 (d+e x)^{3/2} (x (2 c d-b e)+b d)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (x \left (b^2 e^2-16 b c d e+16 c^2 d^2\right )+b d (8 c d-7 b e)\right )}{3 b^4 \sqrt {b x+c x^2}} \]
[In]
[Out]
Rule 111
Rule 113
Rule 117
Rule 118
Rule 729
Rule 752
Rule 834
Rule 857
Rubi steps \begin{align*} \text {integral}& = -\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}-\frac {2 \int \frac {\sqrt {d+e x} \left (\frac {1}{2} d (8 c d-7 b e)+\frac {1}{2} e (2 c d-b e) x\right )}{\left (b x+c x^2\right )^{3/2}} \, dx}{3 b^2} \\ & = -\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (b d (8 c d-7 b e)+\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x\right )}{3 b^4 \sqrt {b x+c x^2}}+\frac {4 \int \frac {-\frac {1}{4} b d e (8 c d-7 b e)-\frac {1}{4} e \left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{3 b^4} \\ & = -\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (b d (8 c d-7 b e)+\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x\right )}{3 b^4 \sqrt {b x+c x^2}}+\frac {(8 d (c d-b e) (2 c d-b e)) \int \frac {1}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{3 b^4}-\frac {\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) \int \frac {\sqrt {d+e x}}{\sqrt {b x+c x^2}} \, dx}{3 b^4} \\ & = -\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (b d (8 c d-7 b e)+\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x\right )}{3 b^4 \sqrt {b x+c x^2}}+\frac {\left (8 d (c d-b e) (2 c d-b e) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {1}{\sqrt {x} \sqrt {b+c x} \sqrt {d+e x}} \, dx}{3 b^4 \sqrt {b x+c x^2}}-\frac {\left (\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {x} \sqrt {b+c x}} \, dx}{3 b^4 \sqrt {b x+c x^2}} \\ & = -\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (b d (8 c d-7 b e)+\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x\right )}{3 b^4 \sqrt {b x+c x^2}}-\frac {\left (\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x}\right ) \int \frac {\sqrt {1+\frac {e x}{d}}}{\sqrt {x} \sqrt {1+\frac {c x}{b}}} \, dx}{3 b^4 \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}+\frac {\left (8 d (c d-b e) (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}\right ) \int \frac {1}{\sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}} \, dx}{3 b^4 \sqrt {d+e x} \sqrt {b x+c x^2}} \\ & = -\frac {2 (d+e x)^{3/2} (b d+(2 c d-b e) x)}{3 b^2 \left (b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (b d (8 c d-7 b e)+\left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) x\right )}{3 b^4 \sqrt {b x+c x^2}}-\frac {2 \left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{3 (-b)^{7/2} \sqrt {c} \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}+\frac {16 d (c d-b e) (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} F\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{3 (-b)^{7/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 12.38 (sec) , antiderivative size = 353, normalized size of antiderivative = 1.03 \[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=\frac {2 \left (b (d+e x) \left (16 c^3 d^2 x^3+8 b c^2 d x^2 (3 d-2 e x)-b^3 \left (d^2+7 d e x-2 e^2 x^2\right )+b^2 c x \left (6 d^2-25 d e x+e^2 x^2\right )\right )-\sqrt {\frac {b}{c}} x (b+c x) \left (\sqrt {\frac {b}{c}} \left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) (b+c x) (d+e x)+i b e \left (16 c^2 d^2-16 b c d e+b^2 e^2\right ) \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} E\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right )|\frac {c d}{b e}\right )-i b e \left (8 c^2 d^2-9 b c d e+b^2 e^2\right ) \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right ),\frac {c d}{b e}\right )\right )\right )}{3 b^5 (x (b+c x))^{3/2} \sqrt {d+e x}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(658\) vs. \(2(289)=578\).
Time = 2.37 (sec) , antiderivative size = 659, normalized size of antiderivative = 1.92
method | result | size |
elliptic | \(\frac {\sqrt {x \left (e x +d \right ) \left (c x +b \right )}\, \left (-\frac {2 d^{2} \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}{3 b^{3} x^{2}}-\frac {2 \left (c e \,x^{2}+b e x +c d x +b d \right ) d \left (7 b e -8 c d \right )}{3 b^{4} \sqrt {x \left (c e \,x^{2}+b e x +c d x +b d \right )}}+\frac {2 \left (b^{2} e^{2}-2 b c d e +c^{2} d^{2}\right ) \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}{3 c^{2} b^{3} \left (\frac {b}{c}+x \right )^{2}}+\frac {2 \left (c e \,x^{2}+c d x \right ) \left (b e -8 c d \right ) \left (b e -c d \right )}{3 b^{4} c \sqrt {\left (\frac {b}{c}+x \right ) \left (c e \,x^{2}+c d x \right )}}+\frac {2 \left (-\frac {d^{2} c e}{3 b^{3}}+\frac {\left (b^{2} e^{2}-2 b c d e +c^{2} d^{2}\right ) e}{3 c \,b^{3}}-\frac {\left (b e -8 c d \right ) \left (b e -c d \right )^{2}}{3 c \,b^{4}}-\frac {d \left (b e -8 c d \right ) \left (b e -c d \right )}{3 b^{4}}\right ) b \sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, F\left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}+\frac {2 \left (\frac {c d e \left (7 b e -8 c d \right )}{3 b^{4}}-\frac {\left (b e -8 c d \right ) \left (b e -c d \right ) e}{3 b^{4}}\right ) b \sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, \left (\left (-\frac {b}{c}+\frac {d}{e}\right ) E\left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )-\frac {d F\left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{e}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+b d x}}\right )}{\sqrt {x \left (c x +b \right )}\, \sqrt {e x +d}}\) | \(659\) |
default | \(\text {Expression too large to display}\) | \(1318\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.11 (sec) , antiderivative size = 700, normalized size of antiderivative = 2.04 \[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=\frac {2 \, {\left ({\left ({\left (16 \, c^{5} d^{3} - 24 \, b c^{4} d^{2} e + 6 \, b^{2} c^{3} d e^{2} + b^{3} c^{2} e^{3}\right )} x^{4} + 2 \, {\left (16 \, b c^{4} d^{3} - 24 \, b^{2} c^{3} d^{2} e + 6 \, b^{3} c^{2} d e^{2} + b^{4} c e^{3}\right )} x^{3} + {\left (16 \, b^{2} c^{3} d^{3} - 24 \, b^{3} c^{2} d^{2} e + 6 \, b^{4} c d e^{2} + b^{5} e^{3}\right )} x^{2}\right )} \sqrt {c e} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, \frac {3 \, c e x + c d + b e}{3 \, c e}\right ) + 3 \, {\left ({\left (16 \, c^{5} d^{2} e - 16 \, b c^{4} d e^{2} + b^{2} c^{3} e^{3}\right )} x^{4} + 2 \, {\left (16 \, b c^{4} d^{2} e - 16 \, b^{2} c^{3} d e^{2} + b^{3} c^{2} e^{3}\right )} x^{3} + {\left (16 \, b^{2} c^{3} d^{2} e - 16 \, b^{3} c^{2} d e^{2} + b^{4} c e^{3}\right )} x^{2}\right )} \sqrt {c e} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )}}{3 \, c^{2} e^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )}}{27 \, c^{3} e^{3}}, \frac {3 \, c e x + c d + b e}{3 \, c e}\right )\right ) - 3 \, {\left (b^{3} c^{2} d^{2} e - {\left (16 \, c^{5} d^{2} e - 16 \, b c^{4} d e^{2} + b^{2} c^{3} e^{3}\right )} x^{3} - {\left (24 \, b c^{4} d^{2} e - 25 \, b^{2} c^{3} d e^{2} + 2 \, b^{3} c^{2} e^{3}\right )} x^{2} - {\left (6 \, b^{2} c^{3} d^{2} e - 7 \, b^{3} c^{2} d e^{2}\right )} x\right )} \sqrt {c x^{2} + b x} \sqrt {e x + d}\right )}}{9 \, {\left (b^{4} c^{4} e x^{4} + 2 \, b^{5} c^{3} e x^{3} + b^{6} c^{2} e x^{2}\right )}} \]
[In]
[Out]
\[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=\int \frac {\left (d + e x\right )^{\frac {5}{2}}}{\left (x \left (b + c x\right )\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=\int { \frac {{\left (e x + d\right )}^{\frac {5}{2}}}{{\left (c x^{2} + b x\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=\int { \frac {{\left (e x + d\right )}^{\frac {5}{2}}}{{\left (c x^{2} + b x\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(d+e x)^{5/2}}{\left (b x+c x^2\right )^{5/2}} \, dx=\int \frac {{\left (d+e\,x\right )}^{5/2}}{{\left (c\,x^2+b\,x\right )}^{5/2}} \,d x \]
[In]
[Out]